<html class=" desktop">
	<head>
		<title>Lakven Technologies| IT Training | Corporate Training | Online Training</title>
		<meta http-equiv="content-type" content="text/html; charset=utf-8">
		<meta name="description" content=" LAKVEN TECHNOLOGIES is one of the leading top Training institute in Bangalore,
									 with a good placement track record. We have certified trainers. We will provide Classroom/Online Training,
									  Fast Track training, with 100% job Guarantee. ">
		<meta name="keywords" content="lakven, lakven bangalore, lakven technologies, jdbc, best java training center, java institute, java training center, 
					institutes in bangalore,java, j2ee, testing, hadoop, frameworks, web services, bangalore,
					IT Training , Online Training , Technical Expertise ,Lakven Technologies  is a provider of Corporate Training ,IT Training in india,
					IT Training in Bangalore,Peaople Hiring,Corporate Training">
		<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900" rel="stylesheet" type="text/css">
		<script src="../../../js/jquery.min.js"></script>
		<script src="../../../js/jquery.dropotron.js"></script>
		<script src="../../../js/skel.min.js"></script>
		<script src="../../../js/skel-panels.min.js"></script>
		<script src="../../../js/nav.js"></script>
		<link href="../../../css/main.css" rel="stylesheet" type="text/css">
		<link href="../../../css/css_accordion.css" rel="stylesheet" type="text/css">
		<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
		<script src="../../../js/menu_jquery.js"></script>
		<link href="../../../css/css_breadcrumb.css" rel="stylesheet" type="text/css">
		<link type="text/css" rel="stylesheet" href="../../../css/socialicon.css" media="screen" />
	</head>

	<body class="left-sidebar" style="">
		<div id="skel-panels-pageWrapper" style="position: relative; left: 0px; right: 0px; top: 0px; -webkit-backface-visibility: hidden; -webkit-perspective: 500; -webkit-transition: -webkit-transform 0.25s ease-in-out; transition: -webkit-transform 0.25s ease-in-out;">
			<div id="main-wrapper">
				<div id="page" class="container" style="margin-top:-100px;">
					<div class="title-heading">
						<h2>Java Faq's</h2>
						<span> 	</span>
					</div>
					<div id="main">
						<div id="topindex">
							<p class="breadcrumb">
							<a href="../../../index.htm" style="background: url('../../../images/bullet_greyarrow.gif') no-repeat scroll right 4px transparent; text-decoration: none;">Home</a>
							<a href="../../../faqs.htm" style="background: url('../../../images/bullet_greyarrow.gif') no-repeat scroll right 4px transparent; text-decoration: none;">Faqs</a>
							<a href="../../../javafaq.htm" style="background: url('../../../images/bullet_greyarrow.gif') no-repeat scroll right 4px transparent; text-decoration: none;">JavaFaqs</a>
							<a href="../../../corejavafaq.htm" style="background: url('../../../images/bullet_greyarrow.gif') no-repeat scroll right 4px transparent; text-decoration: none;">CoreJavaFaqs</a>
							<span>Oops</span>
							</p>
						</div>
						
					<div class="row">
							<div id="sidebar" class="4u">
								<section class="section-padding">
									<header><h2>Faq's</h2></header>
									<ul class="style2">
										<li><a href="oopsfaq.htm"><b>Oops</b></a></li>
										<li><a href="javabasics.htm">Java Basics</a></li>
										<li><a href="classObjects.htm">Class and Objects</a></li>
										<li><a href="constructor.htm">Constructor</a></li>
										<li><a href="javakeywords.htm">Key Words</a></li>
										<li><a href="interfaces.htm">Interfaces</a></li>
										<li><a href="abstract.htm">Abstract</a></li>
										<li><a href="innerNested.htm">Inner and Nested Class</a></li>
										<li><a href="packages.htm">Packages</a></li>
										<li><a href="strings.htm">Strings</a></li>
										<li><a href="garbage.htm">Garbage</a></li>
										<li><a href="exception.htm">Exception</a></li>
										<li><a href="threads.htm">Threads</a></li>
										<li><a href="collections.htm">Collections</a></li>
										<li><a href="javafeatures.htm">Java Features</a></li>
									</ul>
						
								</section>
							</div>
							<div id="content" class="8u skel-cell-mainContent">
							<div class="bodydiv">
								
									
									<div style="margin-left:30px;margin-right:20px;margin-bottom:20px;">
										<article>
											
												<h3 style="margin-top:30px; text-align:center;">Oops Faq's</h3>
												<p><b> What is difference between object oriented programming language and object based programming language?</b></p>
												<p>Object based programming languages follow all the features of OOPs except Inheritance. 
												Examples of object based programming languages are JavaScript, VBScript etc. </p>
												<p><b>What are the principle concepts of OOPS?</b></p>
												<p>There are four principle concepts upon which object oriented design and programming rest. They are:
													(i) Abstraction (ii) Polymorphism (iii) Inheritance (iv) Encapsulation </p>
												<p><b>What is Abstraction?</b></p>
												<p>Abstraction refers to the act of representing essential features without including the background details or explanations.</p>
												<p><b>What is Encapsulation?</b></p>
												<p>Encapsulation is a technique used for hiding the properties and behaviors of an object and allowing outside access only as appropriate. 
													It prevents other objects from directly altering or accessing the properties or methods of the encapsulated object.</p>
												<p><b>What is the difference between abstraction and encapsulation?</b></p>
												<p><b>Abstraction</b> focuses on the outside view of an object (i.e. the interface) Encapsulation (information hiding) prevents 
													clients from seeing it’s inside view, where the behavior of the abstraction is implemented.
												   <br> <b>Abstraction</b> solves the problem in the design side while Encapsulation is the Implementation.
												    <br><b>Encapsulation</b> is the deliverables of Abstraction. Encapsulation barely talks about grouping up your abstraction to suit the developer needs.
												</p>
												<p><b>What is Inheritance?</b></p>
												<p>Inheritance is the process by which objects of one class acquire the properties of objects of another class.
    												<br>The two most common reasons to use inheritance are:
        											To promote code reuse. ,  To use polymorphism</p>
												
												<p><b>What is polymorphism?</b></p>
												<p>Single Form behaving differently in different Situations is called polymorphism . In java there are two types of polymorphism: compile time polymorphism (overloading) and runtime polymorphism (overriding).
												</p>
												<p><b>What is method overloading?</b></p>
												<p>Writing more than one method in a class with the same name is called overloading.In the overloading the return type can be same, but the parameters should be changed. </p>
												
												<p><b>What is method overriding</b></p>
												<p>Writing the method in subclass which is already existing in super class is called overriding.</p>
												<p><b>Is it possible to override the main method?</b></p>
												<p>NO, because main is a static method. A static method can't be overridden in Java</p>
												<p><b>Can overloaded methods be override too?</b></p>
												<p>Yes, derived classes still can override the overloaded methods. Polymorphism can still happen. Compiler will not binding the method calls since it is overloaded,
 													because it might be overridden now or in the future.</p>
 												<p><b>What is static and dynamic polymorphism?</b></p>
												<p>Overloading the nothing but static polymorphism. Overriding is nothing but dynamic polymorphism.</p>
												<a style="text-decoration: none;" href="oopsfaq.htm">Previous</a>
												<a style="margin-left:420px;text-decoration: none;" href="javabasics.htm">Next</a>
											
										</article>
									
									</div>
								</div>
							</div>
						</div>
					
					</div>
				</div>
			</div>
			<div id="footer-wrapper">
				<div id="footer" class="container">
					<a href="coursecalender.htm"><div class="title"><span>New Batches</span></div></a>
					<div class="row">
						<section class="8u" style="margin-top:-50px;">
							<div style="margin-left:50px;">
								<ul class="icons">
									<li class="icon icon-envelope-alt"><a href="javascript:">info@lakven.com</a></li>
									<li class="icon icon-phone"><span>(+91) 8884-949-756/7</span></li>
								</ul>
							</div>
						</section>
							
						<section class="4u" style="margin-top:-50px;">
							<div style="margin-left:-80px;">
								<ul class="icons">
									<li class="icon icon-home"><span> 2nd Floor, Brindhavan Complex, 1E Cross, 20th Main, Maruthi Nagar,
									Near Gangothri Circle, Bangalore-560029. </span></li><br>
									<li class="icon icon-facebook"><a href="http://www.facebook.com/lakventech" target="_blank">facebook.com/lakventech	</a></li>
								</ul>
							</div>
						</section>
					</div>
				</div>
			</div>
			<div id="copyright" class="container"> &copy; Lakven Technologies. All rights reserved. </div>
		</div>
		
			<!-- Social Media Start -->

	<div class="fixedSocialIcon">
		<ul>
			<li class="facebook"><a
				href="https://www.facebook.com/lakventech" target="_blank"><span></span></a></li>
			<li class="twitter"><a
				href="https://www.facebook.com/lakventech" target="_blank"><span></span></a></li>
			<li class="googlePlus"><a
				href="https://www.facebook.com/lakventech" target="_blank"><span></span></a></li>
			<li class="linkedin"><a
				href="https://www.facebook.com/lakventech" target="_blank"><span></span></a></li>

		</ul>
	</div>

	<!-- Social Media End -->
		
		<div id="skel-panels-fixedWrapper" style="position: relative;">
			<div id="header-wrapper" class="skel-panels-fixed">
				<div id="header" class="container">
					<h1><a href="javascript:" id="logo">Lakven Technologies</a></h1>

					<nav id="nav">
						<ul>
							<li style="white-space: nowrap;"><a href="../../../index.htm">Home</a></li>
							<li style="white-space: nowrap;">
								<a href="../../../coursecalender.htm">Calender</a>
							</li>
							<li class="opener" style="-webkit-user-select: none; cursor: pointer; white-space: nowrap; opacity: 1;">
								<a href="../../../courses.htm">Courses</a>
								<ul class="dropotron dropotron-level-0 center" style="-webkit-user-select: none; position: absolute; z-index: 1000; left: 38.1875px; top: 71px; opacity: 1; display: none;">
					
									<li class="opener" style="-webkit-user-select: none; cursor: pointer; white-space: nowrap; opacity: 1;">
										<a href="../../../java.htm">Java</a>
										<ul class="dropotron dropotron-level-1" style="-webkit-user-select: none; display: none; position: absolute; z-index: 1001; left: 249px; top: 135.03125px; opacity: 1;">
											<li style="white-space: nowrap;">
												<a href="../../../corejava.htm" style="display: block;">Core Java</a>
											</li>
											<li style="white-space: nowrap;">
												<a href="../../../advjava.htm" style="display: block;">Adv. Java</a>
											</li>
											<li style="white-space: nowrap;">
												<a href="../../../framework.htm" style="display: block;">Frameworks</a>
											</li>
								
										</ul>
									</li>
									<li class="opener" style="-webkit-user-select: none; cursor: pointer; white-space: nowrap; opacity: 1;">
										<a href="../../../testing.htm">Testing</a>
										<ul class="dropotron dropotron-level-1" style="-webkit-user-select: none; display: none; position: absolute; z-index: 1001; left: 249px; top: 135.03125px; opacity: 1;">
											<li style="white-space: nowrap;">
												<a href="../../../manual.htm" style="display: block;">Manual</a>
											</li>
											<li style="white-space: nowrap;">
												<a href="../../../automation.htm" style="display: block;">AutomationQTP</a>
											</li>
											<li style="white-space: nowrap;">
												<a href="../../../selenium.htm" style="display: block;">Selenium</a>
											</li>
								
										</ul>
									</li>
									<li class="opener" style="-webkit-user-select: none; cursor: pointer; white-space: nowrap; opacity: 1;">
										<a href="../../../hadoop.htm">Hadoop</a>
										<ul class="dropotron dropotron-level-1" style="-webkit-user-select: none; display: none; position: absolute; z-index: 1001; left: 249px; top: 135.03125px; opacity: 1;">
											<li style="white-space: nowrap;">
												<a href="../../../hadoopdev.htm" style="display: block;">Hadoop Development</a>
											</li>
										</ul>
									</li>
									<li style="white-space: nowrap;">
										<a href="../../../Others.htm" style="display: block;">Others</a>
									</li>
									<li style="white-space: nowrap;">
										<a href="../../../fees.htm" style="display: block;">Fees</a>
									</li>
									
								</ul>
							</li>
							<li class="opener" style="-webkit-user-select: none; cursor: pointer; white-space: nowrap; opacity: 1;">
								<a href="../../../training.htm">Training</a>
								<ul class="dropotron dropotron-level-0 center" style="-webkit-user-select: none; position: absolute; z-index: 1000; left: 38.1875px; top: 71px; opacity: 1; display: none;">
					
									<li style="white-space: nowrap;">
										<a href="../../../corporate.htm" style="display: block;">Corporate</a>
									</li>
									<li style="white-space: nowrap;">
										<a href="../../../online.htm" style="display: block;">Online</a>
									</li>
									<li style="white-space: nowrap;">
										<a href="../../../inclass.htm" style="display: block;">In class</a>
									</li>
								</ul>
							</li>
							<li class="opener" style="-webkit-user-select: none; cursor: pointer; white-space: nowrap; opacity: 1;">
								<a href="../../../services.htm">Services</a>
								<ul class="dropotron dropotron-level-0 center" style="-webkit-user-select: none; position: absolute; z-index: 1000; left: 38.1875px; top: 71px; opacity: 1; display: none;">
					
									<li style="white-space: nowrap;">
										<a href="../../../itdevelopment.htm" style="display: block;">IT Development</a>
									</li>
									<li style="white-space: nowrap;">
										<a href="../../../mobiledevelopment.htm" style="display: block;">Mobile Development</a>
									</li>
									<li style="white-space: nowrap;">
										<a href="../../../webdevelopment.htm" style="display: block;">Web Development</a>
									</li>
									<li class="opener" style="-webkit-user-select: none; cursor: pointer; white-space: nowrap; opacity: 1;">
										<a href="../../../careerdevelopment.htm">Career Development</a>
										<ul class="dropotron dropotron-level-1" style="-webkit-user-select: none; display: none; position: absolute; z-index: 1001; left: 249px; top: 135.03125px; opacity: 1;">
											<li style="white-space: nowrap;">
												<a href="../../../career_btech.htm" style="display: block;">B.Tech</a>
											</li>
											<li style="white-space: nowrap;">
												<a href="../../../career_mtech.htm" style="display: block;">M.Tech</a>
											</li>
											<li style="white-space: nowrap;">
												<a href="../../../resume.htm" style="display: block;">Resume</a>
											</li>
											<li style="white-space: nowrap;">
												<a href="../../../jobs.htm" style="display: block;">Jobs</a>
											</li>
								
										</ul>
									</li>
									<li class="opener" style="-webkit-user-select: none; cursor: pointer; white-space: nowrap; opacity: 1;">
										<a href="../../../projects.htm">Live Projects</a>
										<ul class="dropotron dropotron-level-1" style="-webkit-user-select: none; display: none; position: absolute; z-index: 1001; left: 249px; top: 135.03125px; opacity: 1;">
											<li style="white-space: nowrap;">
												<a href="../../../project_btech.htm" style="display: block;">B.Tech</a>
											</li>
											<li style="white-space: nowrap;">
												<a href="../../../project_mtech.htm" style="display: block;">M.Tech</a>
											</li>
											<li style="white-space: nowrap;">
												<a href="../../../ieee.htm" style="display: block;">IEEE Projects</a>
											</li>
										</ul>
									</li>
								</ul>
							</li>
							<li class="opener" style="-webkit-user-select: none; cursor: pointer; white-space: nowrap; opacity: 1;">
								<a href="../../../faqs.htm">FAQ's</a>
								<ul class="dropotron dropotron-level-0 center" style="-webkit-user-select: none; position: absolute; z-index: 1000; left: 38.1875px; top: 71px; opacity: 1; display: none;">
					
									<li style="white-space: nowrap;">
										<a href="../../../javafaq.htm" style="display: block;">Java</a>
									</li>
									<li style="white-space: nowrap;">
										<a href="../../../testingfaq.htm" style="display: block;">Testing</a>
									</li>
									<li style="white-space: nowrap;">
										<a href="../../../hadoopfaq.htm" style="display: block;">Hadoop</a>
									</li>
								</ul>
							</li>
							
							<li class="opener" style="-webkit-user-select: none; cursor: pointer; white-space: nowrap; opacity: 1;">
								<a href="../../../aboutus.htm">About Us</a>
								<ul class="dropotron dropotron-level-0 center" style="-webkit-user-select: none; position: absolute; z-index: 1000; left: 38.1875px; top: 71px; opacity: 1; display: none;">
					
									<li style="white-space: nowrap;">
										<a href="../../../whylakven.htm" style="display: block;">Why Lakven</a>
									</li>
									<li style="white-space: nowrap;">
										<a href="../../../labfacilities.htm" style="display: block;">Lab facilities</a>
									</li>
									<li style="white-space: nowrap;">
										<a href="../../../contactus.htm" style="display: block;">Contact us</a>
									</li>
								</ul>
							</li>
						</ul>
					</nav>
				</div>
			</div>
		</div>
	</body>
</html>
